package com.stylefeng.guns.rest.modular.auth.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: A Sang
 * @Description:
 * @Date: Created in 7:42 PM 2018/11/3
 * @Modified By:
 */
public class testRSA {


    public static void main(String[] args) {


        Map<String,String> map = new HashMap<>();
        map.put("name","小明");
        map.put("age",10+"");


//        Map<String,String> result = ResultUtil.success(map);
//        System.out.println("私钥加密数据 == "+ result.toString());
//
//        System.out.println("公钥解密数据 == "+ ResultUtil.publicDecrypt(result.get("result")));




    }









}
